package com.ruoyi.system.dto;

import com.ruoyi.common.core.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
//@ApiModel(value = "Api调用基础参数", description = "Api调用基础参数")
public class ApiDto extends BaseDto {
    @NotNull(message = "商户号不能为空")
    @ApiModelProperty(value = "商户号", required = true)
    private Long merchantId;
    @NotBlank(message = "签名不能为空")
    @ApiModelProperty(value = "签名", required = true)
    private String sign;
}
